<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$row.id}">
    <div class="form-group">
        <label for="c-superior_type" class="control-label col-xs-12 col-sm-2">{:__('Superior_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-superior_type" data-rule="required" class="form-control selectpicker" name="row[superior_type]">
                {foreach name="superiorTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.superior_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Pid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pid" data-rule="required" class="form-control" step="0.001" name="row[pid]" type="number" value="{$row.pid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-ppid" class="control-label col-xs-12 col-sm-2">{:__('Ppid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ppid" data-rule="required" class="form-control" step="0.001" name="row[ppid]" type="number" value="{$row.ppid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pppid" class="control-label col-xs-12 col-sm-2">{:__('Pppid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pppid" data-rule="required" class="form-control" step="0.001" name="row[pppid]" type="number" value="{$row.pppid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-agent_type" class="control-label col-xs-12 col-sm-2">{:__('Agent_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-agent_type" data-rule="required" class="form-control selectpicker" name="row[agent_type]">
                {foreach name="agentTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.agent_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-aid" class="control-label col-xs-12 col-sm-2">{:__('Aid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-aid" data-rule="required" class="form-control" step="0.001" name="row[aid]" type="number" value="{$row.aid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-aaid" class="control-label col-xs-12 col-sm-2">{:__('Aaid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-aaid" data-rule="required" class="form-control" step="0.001" name="row[aaid]" type="number" value="{$row.aaid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-aaaid" class="control-label col-xs-12 col-sm-2">{:__('Aaaid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-aaaid" data-rule="required" class="form-control" step="0.001" name="row[aaaid]" type="number" value="{$row.aaaid}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-area_type" class="control-label col-xs-12 col-sm-2">{:__('区域代理返利方式')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-area_type" data-rule="required" class="form-control selectpicker" name="row[area_type]">
                {foreach name="agentTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.area_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-province" class="control-label col-xs-12 col-sm-2">{:__('省代理')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province" data-rule="required" class="form-control" step="0.001" name="row[province]" type="number" value="{$row.province}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-city" class="control-label col-xs-12 col-sm-2">{:__('市代理')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-city" data-rule="required" class="form-control" step="0.001" name="row[city]" type="number" value="{$row.city}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-area" class="control-label col-xs-12 col-sm-2">{:__('区代理')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area" data-rule="required" class="form-control" step="0.001" name="row[area]" type="number" value="{$row.area}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
